package com.csnf.Service;

import com.csnf.Dao.StudentDAO;
import com.csnf.entity.Student;

import java.util.List;
public class StudentService {
    public StudentDAO studentDAO = new StudentDAO();
    public List<Student> getStudentsByPage(int pageNum) {
        return studentDAO.getStudentsByPage(pageNum);
    }
    public int getTotalCount() {
        return studentDAO.getTotalCount();
    }
}